﻿using System;

namespace WSOAMOBIMIDWARE
{
    public class HttpResponse
    {
        public bool exeFlag { get; set; }
        public string message { get; set; }
        public string setCookie { get; set; }
        public string returnStr { get; set; }
        public object returnObj { get; set; }

        public HttpResponse(bool exeFlag, string message, string setCookie, string returnStr, object returnObj)
        {
            this.exeFlag = exeFlag;
            this.message = message;
            this.setCookie = setCookie;
            this.returnStr = returnStr;
            this.returnObj = returnObj;
        }

        public HttpResponse(bool exeFlag)
        {
            this.exeFlag = exeFlag;
        }

        public HttpResponse(bool exeFlag, string message)
        {
            this.exeFlag = exeFlag;
            this.message = message;
        }

        public HttpResponse(bool exeFlag, string setCookie, string returnStr)
        {
            this.exeFlag = exeFlag;
            this.setCookie = setCookie;
            this.returnStr = returnStr;
        }
    }
}
